package com.studentexam.student.tool;

/**
 * 返回值编号的定义
 */
public enum ResponseMessageCodeEnum {
    SUCCESS("0"),
    ERROR("-1");

    /*自定义的返回值类型的编号*/
   private String code;
   private ResponseMessageCodeEnum(String code){
       this.code=code;
   }

   public String getCode(){
       return this.code;
   }
}
